// TinyFlowEngine.cpp : Implementation of WinMain


#include "stdafx.h"
#include "resource.h"
#include "TinyFlowEngine.h"

#include <stdio.h>

class CTinyFlowEngineModule : public CAtlServiceModuleT< CTinyFlowEngineModule, IDS_SERVICENAME >
{
public :
	DECLARE_LIBID(LIBID_TinyFlowEngineLib)
	DECLARE_REGISTRY_APPID_RESOURCEID(IDR_TINYFLOWENGINE, "{B841A420-24B3-4669-A50C-DEE2AA2426E4}")
	HRESULT InitializeSecurity() throw()
	{
		// TODO : Call CoInitializeSecurity and provide the appropriate security settings for 
		// your service
		// Suggested - PKT Level Authentication, 
		// Impersonation Level of RPC_C_IMP_LEVEL_IDENTIFY 
		// and an appropiate Non NULL Security Descriptor.

		return S_OK;
	}
};

CTinyFlowEngineModule _AtlModule;



//
extern "C" int WINAPI _tWinMain(HINSTANCE /*hInstance*/, HINSTANCE /*hPrevInstance*/, 
                                LPTSTR /*lpCmdLine*/, int nShowCmd)
{
    return _AtlModule.WinMain(nShowCmd);
}

